<?php
	echo $accessibility->whereIAm($pageTitle);
	echo "<h2 id='contentTitle'>".$pageTitle."</h2>";
	echo "<div id='view'>";
	echo "<p><label>Id:</label><span>".$post['Post']['id']."</span></p>";
	echo "<p><label>Titulo:</label><span>".$post['Post']['titulo']."</span></p>";
	echo "<p><label>Texto:</label><span>".$post['Post']['texto']."</span></p>";
	echo "<p><label>CriadoEm:</label><span>".$post['Forum']['criadoEm']."</span></p>";
	echo "<p><label>CriadoPor:</label><span>".$post['Forum']['criadoPor']."</span></p>";
	echo "<p><label>Usuario:</label><span>".$post['Usuario']['login']."</span></p>";
	echo "<p><label>Forum:</label><span>".$post['Forum']['titulo']."</span></p>";
	echo "<br />";
	echo $html->link("Listar posts","/posts/");
	echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp";
	echo $html->link("Editar post","/posts/edit/".$post['Post']['id']);
	echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp";
	echo $html->link("Apagar post", '/posts/delete/'.$post['Post']['id'], array(), 'Confirma a exclusão deste item?');
	echo "</div>";

